home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if %1a == a: goto WHATDRIVE
- if %1b == b: goto WHATDRIVE
- if %1 == c: goto START
- if %1 == C: goto START
- if %1 == d: goto START
- if %1 == D: goto START
- if %1 == e: goto START
- if %1 == E: goto START
- if %1 == f: goto START
- if %1 == F: goto START
- goto NOTDRIVE
- :START
- echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- echo * *
- echo * Pencil and Paper Activity Maker Hard Disk Installation and Update. *
- echo * *
- echo * This will create a directory called %1\PAPAMAKE on your hard disk, *
- echo * and will install the PAPAM (Pencil and Paper Activity Maker) files *
- echo * in that directory. *
- echo * *
- echo * If PAPAM is already installed on your hard disk, this will update *
- echo * the files in the %1\PAPAMAKE directory. *
- echo * *
- echo * If you don't want PAPAM installed/updated at this time, press *
- echo * CTRL + BREAK. *
- echo * *
- echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- echo
- pause
- cls
- if exist %1\PAPAMAKE\*.* goto EXISTS
- echo Making directory %1\PAPAMAKE . . .
- md %1\PAPAMAKE
- :CHECK
- if exist PAPAM.EXE goto CONTINUE
- echo
- echo Place the disk containing Pencil and Paper Activity Maker files in the
- echo active drive.
- echo
- pause
- goto CHECK
- :CONTINUE
- echo
- echo Copying Pencil and Paper Activity Maker files . . .
- copy *.* %1\PAPAMAKE
- if not exist %1\PAPAMAKE\PAPAM.EXE goto INSTALLERROR
- if not exist %1\PAPAMAKE\BRUN45.EXE goto INSTALLERROR
- cd %1\PAPAMAKE
- echo
- echo Pencil and Paper Activity Maker is installed/updated on your hard disk.
- echo To run it, type PAPAM.
- %1
- echo
- goto DONE
- :WHATDRIVE
- cls
- echo Installation Error: To install Pencil and Paper Activity Maker on your
- echo hard disk, you must include the drive as part of the install command.
- echo for example, to install Pencil and Paper Activity Maker on drive C, type
- echo INSTALL C: and press ENTER.
- goto ERRORQUIT
- :NOTDRIVE
- cls
- echo Installation Error: The hard drive letter can be a letter from C to F,
- echo For example, INSTALL C: will install Pencil and Paper Activity Maker
- echo on drive C. You must include a colon after the drive letter.
- goto ERRORQUIT
- :INSTALLERROR
- cls
- echo Installation Error: Do you have enough space on your hard disk?
- echo Did you give the proper hard drive letter?
- goto ERRORQUIT
- :EXISTS
- cls
- echo Updating directory %1\PAPAMAKE . . .
- goto CHECK
- :ERRORQUIT
- echo
- echo Pencil and Paper Activity Maker was as not installed correctly.
- echo
- :DONE
-